<template>
  <div>
    <el-form-item label="结算方式">
      <div class="group-style">
        <el-radio-group v-model="formInline.radio1" size="mini">
          <el-radio-button label="1">酬金制</el-radio-button>
        </el-radio-group>
        <el-input v-model="formInline.input1" v-blur size="mini" style="width:120px;margin-left:10px" />
      </div>
    </el-form-item>
    <el-form-item label="接单">
      <el-radio-group v-model="formInline.radio2" size="mini">
        <el-radio-button label="1">指单</el-radio-button>
        <el-radio-button label="2">派单</el-radio-button>
      </el-radio-group>
    </el-form-item>
    <!-- 选择指派人员 -->
    <appoint v-if="formInline.radio2 == '1'" />
  </div>
</template>
<script>
import appoint from '@/components/appoint'
export default {
  components: {
    appoint
  },
  data() {
    return {
      formInline: {
        radio1: '1',
        input1: '',
        radio2: '1'
      }
    }
  }
}
</script>
<style lang="scss" scoped>
.group-style{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
</style>

